#include <iostream>

using namespace std;

int add(int a, int b)
{
        return a + b;
}

double add(double a, double b)
{
        return a + b;
}

int main()
{
        int a;
        double d;

        a = add(3, 5);
        d = add(3.14, 5.6);

        cout << "a = " << a << ", d = " << d << endl;

        return 0;
}
